//
//  CZEmoticons.swift
//  weibo
//
//  Created by 丁蒙 on 16/7/5.
//  Copyright © 2016年 丁蒙. All rights reserved.
//

import UIKit

class CZEmoticons: NSObject {
    //十六进制
    var code: String?
    //类型
    var type: String?{
        didSet {
            if type == "0" {
                isEmoji = false
            } else {
                isEmoji = true
            }
        }
    }
    //图片表情描述
    var chs: String?
    //图片
    var png: String?
    //是否是emoji表情
    var isEmoji: Bool = false
    // 判断是default 还是emoji 或是lxh
    var path: String?
    
    init(dict: [String: AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }

}
